package com.etc.library.service;

import com.etc.library.pojo.Record;

import java.util.List;
import java.util.Map;

public interface RecordService {

    boolean add(Record record);

    List<Map<String,Object>> list(Map<String,Object> params);

    boolean revert(Record record);

    List<Map<String,Object>> sendWarningMail(String type);
}
